#include "SonyPlayers.h"

void SonyDVDPlayer::start(){ 
	if (!on)
	{
		director->DVDstart(this);
		cout << "Samsung DVD Player started" << endl;
		on = true;
	}
}

void SonyDVDPlayer::forward(){}
void SonyDVDPlayer::stop(){
	if (on) 
	{
		director->DVDstop(this);
		cout << "Sony DVD Player stopped" << endl;
		on = false;
	}
}
void SonyDVDPlayer::rewind(){}

////////////////////////////////////////////
void SonyVCRPlayer::start()
{ 
	if (!on)
	{
		director->VCRstart(this);
		cout << "Sony VCR Player started" << endl;
		on = true;
	}
}
void SonyVCRPlayer::forward(){}
void SonyVCRPlayer::stop(){
	if (on) 
	{
		director->VCRstop(this);
		cout << "Sony VCR Player stopped" << endl;
		on = false;
	}
}
void SonyVCRPlayer::rewind(){}


////////////////////////////////////////////////////////////
void SonyCDPlayer::start(){ 
	if (!on)
	{
		director->CDstart(this);
		cout << "Sony CD Player started" << endl;
		on = true;
	}
}
void SonyCDPlayer::forward(){}
void SonyCDPlayer::stop(){
if (on) 
	{
		director->CDstop(this);
		cout << "Sony CD Player stopped" << endl;
		on = false;
	}
}
void SonyCDPlayer::rewind(){}

